package com.zsc.zojbackendjudgeservice.judge;


import com.zsc.zojbackendjudgeservice.judge.mq.MqInitMain;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
//@EnableScheduling
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@ComponentScan("com.zsc")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.zsc.zojbackendserviceclient.service"})
public class ZojBackendJudgeServiceApplication {

    public static void main(String[] args) {
//        MqInitMain.InitRabbitMq();
        SpringApplication.run(ZojBackendJudgeServiceApplication.class, args);
    }

}
